better darwin detection
authorStepan Koltsov <stepan.koltsov@gmail.com>
Wed, 19 Nov 2014 19:10:21 +0000 (22:10 +0300)
committerStepan Koltsov <stepan.koltsov@gmail.com>
Wed, 19 Nov 2014 19:18:59 +0000 (22:18 +0300)
.travis.install.deps.sh

index e18f1ce5b98cb96916db798bef9693db68b929cc..ea8b9e2ec4ea8f21de8b09036ca2923a1d6fd684 100755 (executable)
@@ -1,7 +1,7 @@
 set -x
 set -e
 
-if [ "${TRAVIS_OS_NAME}" = "osx" ] || [ "${PLATFORM}" = "mac" ]; then
+if [ "${TRAVIS_OS_NAME}" = "osx" ] || [ "${PLATFORM}" = "mac" ] || [ "`uname`" = "Darwin" ]; then
     target=apple-darwin
 elif [ "${OS}" = "Windows_NT" ] || [ "${PLATFORM}" = "win" ]; then
     windows=1